package com.tongtong.stsuserapi.service.base;

import com.tongtong.stscommon.message.STSMessage;

/**
 * 消息通知业务层
 */
public interface NotificationService {

	/** 获取未读消息 */
	STSMessage getUnreadNotification(Long userid);

	/** 获取已读消息 */
	STSMessage getReadNotification(Long userid);

	/** 获取已发送的消息 */
	STSMessage getSendNotification(Long userid);

	/** 读取消息 */
	STSMessage readNotification(Long userid, Long notificationId);

	/** 删除已读消息 */
	STSMessage deleteNotification(Long userid, Long notificationId);

	/** 发送消息 */
	STSMessage sendNotification(Long senderId, Long recipientId, String content, Integer noticeType);
}
